<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>整车审核意见一览</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
			return false;
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<c:if test="${renttype == 4}">
			<li><a href="${ctx}/rentproduct/tRentgroup/dayList">按天包车列表</a></li>
		</c:if>
		<c:if test="${renttype == null}">
			<li><a href="${ctx}/rentproduct/tRentgroup/rentforaudit">包车待审核列表</a></li>
		</c:if>
		<li class="active"><a href="${ctx}/rentproduct/tRentgroupAudit/list?rentgroup.rentgrpid=${tRentgroupAudit.rentgroup.rentgrpid}">包车审核意见</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="tRentgroupAudit" action="${ctx}/rentproduct/tRentgroupAudit/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>产品名称</th>
				<th>审核结果</th>
				<th>具体意见</th>
				<th>审核日期</th>
				<th>审核人</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="tRentgroupAudit">
			<tr>
				<td>
					${tRentgroupAudit.rentgroup.productname}
				</td>
				<td>
					${tRentgroupAudit.auditopn == '1'?'通过':''}
					${tRentgroupAudit.auditopn == '2'?'不通过':''}
				</td>
				<td>
					${tRentgroupAudit.opndetail}
				</td>
				<td>
					<fmt:formatDate value="${tRentgroupAudit.operatedate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${tRentgroupAudit.createBy.name}
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>